package com.atguigu.system.mapper;

import com.atguigu.model.system.SysRole;
import com.atguigu.model.vo.SysRoleQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author lemon
 * @since 2023-01-22
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    // 条件分页查询
    IPage<SysRole> selectWithPage(@Param("param") Page<SysRole> pageParam, @Param("vo") SysRoleQueryVo sysRoleQueryVo);
}
